package com.xxadmin.common.exception;

import com.xxadmin.common.exception.errorcode.BusinessErrorCodeEnum;

/**
 * 参数非法异常
 *
 * @author:chenming
 * @date:2018/4/25
 */
public class ParamIllageException extends BusinessException{

    public ParamIllageException(String errorMessage){
        super("000907",errorMessage);
    }

    public ParamIllageException(String errorCode,String errorMessage){
        super(errorCode,errorMessage);
    }

    public ParamIllageException(BusinessErrorCodeEnum businessErrorCodeEnum){
        super(businessErrorCodeEnum);
    }

}
